import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import '@/styles/reset.css'
import '@/styles/mian.css'
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from "element-ui";

import KFormDesign from 'k-form-design'
import 'k-form-design/lib/k-form-design.css'
import VueContextMenu from 'vue-contextmenu'

//引入api文件
import api from './api/index.js'
//将API方法绑定到全局

Vue.prototype.$api = api
Vue.use(ElementUI);
Vue.use(KFormDesign);
Vue.use(VueContextMenu)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
